.class Lcom/waiqin365/lightapp/im/contactlist/j;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnFocusChangeListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/im/contactlist/j;->a:Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onFocusChange(Landroid/view/View;Z)V
    .locals 7

    const/16 v6, 0xd

    const/16 v5, 0x9

    const/4 v4, 0x0

    const/4 v3, -0x1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/j;->a:Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->a(Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;)Landroid/widget/EditText;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/EditText;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout$LayoutParams;

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/contactlist/j;->a:Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->b(Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;)Landroid/content/Context;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/im/contactlist/j;->a:Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->a(Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;)Landroid/widget/EditText;

    move-result-object v2

    invoke-static {v1, v2}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;Landroid/view/View;)Z

    move-result v1

    if-eqz v1, :cond_1

    invoke-virtual {v0, v6, v4}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V

    invoke-virtual {v0, v5, v3}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V

    :cond_0
    :goto_0
    iget-object v1, p0, Lcom/waiqin365/lightapp/im/contactlist/j;->a:Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->a(Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;)Landroid/widget/EditText;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/widget/EditText;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    return-void

    :cond_1
    iget-object v1, p0, Lcom/waiqin365/lightapp/im/contactlist/j;->a:Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->c(Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;)Landroid/content/Context;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/im/contactlist/j;->a:Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->a(Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;)Landroid/widget/EditText;

    move-result-object v2

    invoke-static {v1, v2}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;Landroid/view/View;)Z

    move-result v1

    if-nez v1, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/contactlist/j;->a:Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->a(Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;)Landroid/widget/EditText;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-virtual {v0, v5, v4}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V

    invoke-virtual {v0, v6, v3}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V

    goto :goto_0
.end method
